* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding: 20px;
    font-family: jb-mono, consolas, 'Courier New', Courier, monospace, "微软雅黑";
    font-size: 14px;
    color: #606266;
}

@font-face {
    font-family: 'jb-mono';
    src: url("fonts/JetBrainsMono-Regular.woff2") format("woff2");
}

button {
    border: none;
    border-radius: 4px;
    outline: none;
    padding: 12px 20px;
    min-width: 100px;
    font-size: 14px;
    color: #fff;
    background: #409eff;
    cursor: pointer;
    transition: .3s;
}

button:hover {
    filter: brightness(110%);
}

button:active {
    filter: brightness(90%);
}

#box {
    height: 80vh;
    display: flex;
}

#rawCodes, code {
    font-family: jb-mono;
    line-height: 1.5;
    font-size: 18px;
}

#rawCodes, .result {
    flex: 1;
    height: 100%;
    overflow: auto;
    background: #f5f5f5;
}

#rawCodes {
    padding: 20px;
    resize: none;
}

pre {
    padding: 20px;
    height: 100%;
    font-size: 0;
    background: #282c34;
}

.action {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 10px;
}

#broswerlist {
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    padding: 0 15px;
    height: 40px;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    transition: .3s;
}

#broswerlist:hover {
    border-color: #c0c4cc;
}

#broswerlist:focus {
    border-color: #409eff;
}

.action-left a {
    text-decoration: none;
    color: #409eff;
}

.action-left a:hover {
    text-decoration: underline;
}

#submitBtn {
    display: block;
    margin-top: 10px;
}
